<html>
<body>

<% String toto = "test"; 
   String param = (String) request.getAttribute("param");
%>

test = <%=toto%>
param = <%=param%>

</body>
</html>